package com.zzzzzz.content.topic;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.google.code.morphia.annotations.Entity;
import com.google.code.morphia.annotations.Id;
import com.google.code.morphia.annotations.Reference;
import com.zzzzzz.account.user.UserBase;

@Entity("topic")
public class Topic implements Serializable {
	private static final long serialVersionUID = 8253573609773464540L;
	@Id
	private String topicId;
	private String title;
	private String text;
	private String imgId;
	private String imgSId;
	private String userId;
	private String categoryId;
	private List<String> tags;
	private Date addDt;
	private Date updDt;
	private Integer status;
	
	@Reference
	private UserBase userBase;
	
	private String textS;
	private String srcName;
	private String srcUser;
	private String srcLink;
	private String commentText;
	

	public String getTopicId() {
		return topicId;
	}

	public void setTopicId(String topicId) {
		this.topicId = topicId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getTextS() {
		return textS;
	}

	public void setTextS(String textS) {
		this.textS = textS;
	}

	public String getImgId() {
		return imgId;
	}

	public void setImgId(String imgId) {
		this.imgId = imgId;
	}

	public String getImgSId() {
		return imgSId;
	}

	public void setImgSId(String imgSId) {
		this.imgSId = imgSId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public List<String> getTags() {
		return tags;
	}

	public void setTags(List<String> tags) {
		this.tags = tags;
	}

	public Date getAddDt() {
		return addDt;
	}

	public void setAddDt(Date addDt) {
		this.addDt = addDt;
	}

	public Date getUpdDt() {
		return updDt;
	}

	public void setUpdDt(Date updDt) {
		this.updDt = updDt;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public UserBase getUserBase() {
		return userBase;
	}

	public void setUserBase(UserBase userBase) {
		this.userBase = userBase;
	}

	public String getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId;
	}

	public String getCommentText() {
		return commentText;
	}

	public void setCommentText(String commentText) {
		this.commentText = commentText;
	}

	public String getSrcName() {
		return srcName;
	}

	public void setSrcName(String srcName) {
		this.srcName = srcName;
	}

	public String getSrcUser() {
		return srcUser;
	}

	public void setSrcUser(String srcUser) {
		this.srcUser = srcUser;
	}

	public String getSrcLink() {
		return srcLink;
	}

	public void setSrcLink(String srcLink) {
		this.srcLink = srcLink;
	}
	
}
